<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .hezi {
            width: 270px;
            height: 410px;
            margin: 30px auto;
            box-shadow: 0 0 10px #333;
            position: relative;
        }

        .hezi:hover {
            background: #f67c01;
            box-shadow: none;
            cursor: pointer;
        }

        h3 {
            background: red;
            font-size: 20px;
            padding: 5px 10px;
            position: absolute;
            left: 50%;
            top: 0;
            transform: translate(-50%, -50%);
            color: aliceblue;
            font-weight: normal;
        }

        .hezi p {
            font-size: 16px;
            position: absolute;
            left: 50%;
            bottom: 0;
            padding-bottom: 40px;
            transform: translate(-50%);
        }

        .hezi:hover p {
            display: none;
        }

        .hezi p span {
            font-size: 14px;
        }

        button {
            position: absolute;
            left: 50%;
            bottom: 40px;
            transform: translate(-50%);
            width: 180px;
            height: 36px;
            border: none;
            border-radius: 5px;
            background: #fff;
            color: rgb(15, 123, 196);
            display: none;
        }

        .hezi:hover button {
            display: block;
            
        }
    </style>
</head>

<body>
    <div class="hezi">
        <h3>标题</h3>
        <p>2880 <span>元</span></p>
        <button>了解详情</button>
    </div>
</body>

</html>